<div class="well">
  <div class="progress" ng-class="{ active: progress < 100, 'progress-striped': progress < 100 }">
    <div class="bar" ng-style="{ width: progress + '%' }"/>
  </div>
  <a ng-repeat="(name, f) in files" ui-jq="tooltip" ui-options="{title: name}">
    <img class="img-polaroid img-{{f.orientation}}" ng-src="{{f.thumb}}">
  </a>
</div>
<span class="label label-important" ui-if="!fileSupport">File Reading not supported in this browser!
</span>
<input type="file" ng-disabled="!fileSupport || loading" ui-event="{ change: 'onchange($event.target.files)' }" multiple>
<button class="btn pull-right" ng-click="cancel()" ng-disabled="!size(files)">
  <i class="icon-trash"/>
</button>